﻿using FarmSmartSleep.Common.Dtos;
using MediatR;

namespace FarmSmartSleep.Organ.API.Application.Commands.DepartmentCommands
{
    public class DepartmentCreateCommand:IRequest<Result>
    {
        public int DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门停用
        /// </summary>
        public bool DepartmentStop { get; set; }
        /// <summary>
        /// 部门类型ID
        /// </summary>
        public int DepartmentTypeId { get; set; }
        /// <summary>
        /// 省级ID
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 市级ID
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 区县ID
        /// </summary>
        public int CountyId { get; set; }
        /// <summary>
        /// 直接上级
        /// </summary>
        public string DirectSuperior { get; set; }
        /// <summary>
        /// 部门主管
        /// </summary>
        public string DirectSuperiorName { get; set; }
        /// <summary>
        /// 分管责任人
        /// </summary>
        public string InChargeHead { get; set; }
        /// <summary>
        /// 财务责任人
        /// </summary>
        public string Treasurer { get; set; }
        /// <summary>
        /// 可查看人员
        /// </summary>
        public string ViewablePersonnel { get; set; }
        /// <summary>
        /// 职能体系
        /// </summary>
        public int FunctionalSystemId { get; set; }
    }
}
